<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class MySql</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> MySql</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
                <p class="implements">
            Implements interfaces:
            <ul>
                <li><a href="../../Samble/db/Crud.html">Crud</a></li>            </ul>
        </p>
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">MySql  The Samble mysql base class.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Lim Afriyadi</li>
				<li><span class="field">version:</span> pre-alpha</li>
				<li><span class="field">license:</span> GNU/GPL</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_db---mysql.php.html">/db/mysql.php</a> (line <span class="field">12</span>)
		</p>
		
				
		<pre><a href="../../Samble/db/MySqlConnection.html">MySqlConnection</a>
   |
   --<a href="../../Samble/db/MySqlResultSet.html">MySqlResultSet</a>
      |
      --<a href="../../Samble/db/MySqlTransaction.html">MySqlTransaction</a>
         |
         --MySql</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																																								<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#clearQuery" title="details" class="method-name">clearQuery</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#clearResultSet" title="details" class="method-name">clearResultSet</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#connect" title="details" class="method-name">connect</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Host</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$i_Port</span> = <span class="var-default">3306</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Uname</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Pwd</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Db</span> = <span class="var-default">&quot;&quot;</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#dbDelete" title="details" class="method-name">dbDelete</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$s_Table</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$a_Conditions</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#dbInsert" title="details" class="method-name">dbInsert</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$s_Table</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$a_Data</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#dbSelect" title="details" class="method-name">dbSelect</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$s_Table</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$a_Columns</span> = <span class="var-default">array('*')</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$s_Params</span> = <span class="var-default">&quot;&quot;</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#dbUpdate" title="details" class="method-name">dbUpdate</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$s_Table</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$a_Data</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$s_Params</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#delete" title="details" class="method-name">delete</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Query</span> = <span class="var-default">&quot;&quot;</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#disconnect" title="details" class="method-name">disconnect</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">array</span>
										<a href="#getResultSet" title="details" class="method-name">getResultSet</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#insert" title="details" class="method-name">insert</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Query</span> = <span class="var-default">&quot;&quot;</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#isConnected" title="details" class="method-name">isConnected</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#isOnQuery" title="details" class="method-name">isOnQuery</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">int</span>
										<a href="#numRows" title="details" class="method-name">numRows</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#pconnect" title="details" class="method-name">pconnect</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Host</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$i_Port</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Uname</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Pwd</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Db</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$b_Persistent</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#psock" title="details" class="method-name">psock</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$sPath</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Uname</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Pwd</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Db</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$b_Persistent</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#select" title="details" class="method-name">select</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Query</span> = <span class="var-default">&quot;&quot;</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#sock" title="details" class="method-name">sock</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$sPath</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Uname</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Pwd</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Db</span> = <span class="var-default">&quot;&quot;</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#update" title="details" class="method-name">update</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Query</span> = <span class="var-default">&quot;&quot;</span>])
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../Samble/db/MySqlTransaction.html">MySqlTransaction</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlTransaction.html#var$b_Query">MySqlTransaction::$b_Query</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlTransaction.html#var$o_Connection">MySqlTransaction::$o_Connection</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlTransaction.html#var$s_Stmt">MySqlTransaction::$s_Stmt</a></span><br>
							</span>
											</blockquote> 
									<p>Inherited from <span class="classname"><a href="../../Samble/db/MySqlResultSet.html">MySqlResultSet</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlResultSet.html#var$a_Result_Set">MySqlResultSet::$a_Result_Set</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlResultSet.html#var$o_Query">MySqlResultSet::$o_Query</a></span><br>
							</span>
											</blockquote> 
									<p>Inherited from <span class="classname"><a href="../../Samble/db/MySqlConnection.html">MySqlConnection</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlConnection.html#var$b_Persistent">MySqlConnection::$b_Persistent</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlConnection.html#var$b_Socket">MySqlConnection::$b_Socket</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlConnection.html#var$b_State">MySqlConnection::$b_State</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlConnection.html#var$i_Port">MySqlConnection::$i_Port</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlConnection.html#var$s_Db">MySqlConnection::$s_Db</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlConnection.html#var$s_Host">MySqlConnection::$s_Host</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlConnection.html#var$s_Pwd">MySqlConnection::$s_Pwd</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlConnection.html#var$s_Socket_Path">MySqlConnection::$s_Socket_Path</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Samble/db/MySqlConnection.html#var$s_Uname">MySqlConnection::$s_Uname</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodclearQuery" id="clearQuery"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">clearQuery</span> (line <span class="line-number">339</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Clear cached MySQL query statement.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			clearQuery
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlTransaction.html#methodclearQuery">MySqlTransaction::clearQuery()</a></dt>
						<dd>Abstract function to clear mysql query statement</dd>
					</dl>
			
	</div>
<a name="methodclearResultSet" id="clearResultSet"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">clearResultSet</span> (line <span class="line-number">318</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Clear cached Mysql query result set.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			clearResultSet
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlResultSet.html#methodclearResultSet">MySqlResultSet::clearResultSet()</a></dt>
						<dd>Abstract function to clear the array of mysql results</dd>
					</dl>
			
	</div>
<a name="methodconnect" id="connect"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">connect</span> (line <span class="line-number">356</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Mysql basic connection function, all parameters are mandatory.</p>
<p class="description"><p>This function will return true if mysql connect successfully  and errors message of the connection failures.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			connect
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Host</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$i_Port</span> = <span class="var-default">3306</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Uname</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Pwd</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Db</span> = <span class="var-default">&quot;&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Host</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$i_Port</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Uname</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Pwd</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Db</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlConnection.html#methodconnect">MySqlConnection::connect()</a></dt>
						<dd>Abstract mysql connection function. All parameters are mandatory.</dd>
					</dl>
			
	</div>
<a name="methoddbDelete" id="dbDelete"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">dbDelete</span> (line <span class="line-number">424</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			dbDelete
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$s_Table</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$a_Conditions</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$s_Table</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$a_Conditions</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../../Samble/db/Crud.html#methoddbDelete">Crud::dbDelete()</a></dt>
					</dl>
			
	</div>
<a name="methoddbInsert" id="dbInsert"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">dbInsert</span> (line <span class="line-number">449</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			dbInsert
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$s_Table</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$a_Data</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$s_Table</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$a_Data</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../../Samble/db/Crud.html#methoddbInsert">Crud::dbInsert()</a></dt>
					</dl>
			
	</div>
<a name="methoddbSelect" id="dbSelect"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">dbSelect</span> (line <span class="line-number">474</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			dbSelect
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$s_Table</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$a_Columns</span> = <span class="var-default">array('*')</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$s_Params</span> = <span class="var-default">&quot;&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$s_Table</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$a_Columns</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$s_Params</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../../Samble/db/Crud.html#methoddbSelect">Crud::dbSelect()</a></dt>
					</dl>
			
	</div>
<a name="methoddbUpdate" id="dbUpdate"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">dbUpdate</span> (line <span class="line-number">501</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			dbUpdate
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$s_Table</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$a_Data</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$s_Params</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$s_Table</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$a_Data</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$s_Params</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../../Samble/db/Crud.html#methoddbUpdate">Crud::dbUpdate()</a></dt>
					</dl>
			
	</div>
<a name="methoddelete" id="delete"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">delete</span> (line <span class="line-number">54</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Mysql query execution for 'DELETE' statement.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			delete
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Query</span> = <span class="var-default">&quot;&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Query</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlTransaction.html#methoddelete">MySqlTransaction::delete()</a></dt>
						<dd>Abstract function to do mysql 'DELETE' query</dd>
					</dl>
			
	</div>
<a name="methoddisconnect" id="disconnect"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">disconnect</span> (line <span class="line-number">204</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Disconnect from an established mysql connection session.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			disconnect
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlConnection.html#methoddisconnect">MySqlConnection::disconnect()</a></dt>
						<dd>Abstract function to disconnect from mysql server.</dd>
					</dl>
			
	</div>
<a name="methodgetResultSet" id="getResultSet"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getResultSet</span> (line <span class="line-number">220</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retrun result set of last mysql query statement  return false if there was no generated row by last query execution.</p>
	<ul class="tags">
				<li><span class="field">return:</span> || false</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getResultSet
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlResultSet.html#methodgetResultSet">MySqlResultSet::getResultSet()</a></dt>
						<dd>Abstract function of collecting mysql query results</dd>
					</dl>
			
	</div>
<a name="methodinsert" id="insert"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">insert</span> (line <span class="line-number">74</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Mysql query execution for 'INSERT' statement.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			insert
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Query</span> = <span class="var-default">&quot;&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Query</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlTransaction.html#methodinsert">MySqlTransaction::insert()</a></dt>
						<dd>Abstract function to do mysql 'INSERT' query</dd>
					</dl>
			
	</div>
<a name="methodisConnected" id="isConnected"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">isConnected</span> (line <span class="line-number">19</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check current Mysql connection state.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			isConnected
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlConnection.html#methodisConnected">MySqlConnection::isConnected()</a></dt>
						<dd>Abstract function to check mysql state.</dd>
					</dl>
			
	</div>
<a name="methodisOnQuery" id="isOnQuery"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">isOnQuery</span> (line <span class="line-number">114</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check the class status whether there was an unexected  statement query.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			isOnQuery
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlTransaction.html#methodisOnQuery">MySqlTransaction::isOnQuery()</a></dt>
						<dd>Abstract function to check mysql query state</dd>
					</dl>
			
	</div>
<a name="methodnumRows" id="numRows"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">numRows</span> (line <span class="line-number">240</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Count number of rows generated by last mysql query statement.</p>
<p class="description"><p>return false if there was no generated row by last query execution.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> || false</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			numRows
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodpconnect" id="pconnect"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">pconnect</span> (line <span class="line-number">132</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Mysql persistent connection function, all parameters are mandatory.</p>
<p class="description"><p>This function will return true if mysql persistent connection connect successfully  to mysql server and errors message of the connection failures.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			pconnect
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Host</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$i_Port</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Uname</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Pwd</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Db</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$b_Persistent</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Host</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$i_Port</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Uname</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Pwd</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Db</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$b_Persistent</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlConnection.html#methodpconnect">MySqlConnection::pconnect()</a></dt>
						<dd>Abstract mysql persistent connection function. All parameters are mandatory.</dd>
					</dl>
			
	</div>
<a name="methodpsock" id="psock"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">psock</span> (line <span class="line-number">332</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialize Mysql persistent connection via unix socket.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			psock
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$sPath</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Uname</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Pwd</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Db</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$b_Persistent</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sPath</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Uname</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Pwd</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Db</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$b_Persistent</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlConnection.html#methodpsock">MySqlConnection::psock()</a></dt>
						<dd>Abstract mysql socket persistent connection function. All parameters are mandatory.</dd>
					</dl>
			
	</div>
<a name="methodselect" id="select"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">select</span> (line <span class="line-number">29</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Mysql query execution for 'SELECT' statement.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			select
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Query</span> = <span class="var-default">&quot;&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Query</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlTransaction.html#methodselect">MySqlTransaction::select()</a></dt>
						<dd>Abstract function to do mysql 'SELECT' query</dd>
					</dl>
			
	</div>
<a name="methodsock" id="sock"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">sock</span> (line <span class="line-number">257</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialize Mysql connection via unix socket.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			sock
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$sPath</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Uname</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Pwd</span> = <span class="var-default">&quot;&quot;</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Db</span> = <span class="var-default">&quot;&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sPath</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Uname</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Pwd</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Db</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlConnection.html#methodsock">MySqlConnection::sock()</a></dt>
						<dd>Abstract mysql socket connection function. All parameters are mandatory.</dd>
					</dl>
			
	</div>
<a name="methodupdate" id="update"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">update</span> (line <span class="line-number">94</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Mysql query execution for 'UPDATE' statement.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			update
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$s_Query</span> = <span class="var-default">&quot;&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s_Query</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Samble/db/MySqlTransaction.html#methodupdate">MySqlTransaction::update()</a></dt>
						<dd>Abstract function to do mysql 'UPDATE' query</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Samble/db/MySqlTransaction.html">MySqlTransaction</a></span></p>
					<blockquote>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlTransaction.html#methodclearQuery">MySqlTransaction::clearQuery()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlTransaction.html#methoddelete">MySqlTransaction::delete()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlTransaction.html#methodinsert">MySqlTransaction::insert()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlTransaction.html#methodisOnQuery">MySqlTransaction::isOnQuery()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlTransaction.html#methodselect">MySqlTransaction::select()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlTransaction.html#methodupdate">MySqlTransaction::update()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Samble/db/MySqlResultSet.html">MySqlResultSet</a></span></p>
					<blockquote>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlResultSet.html#methodclearResultSet">MySqlResultSet::clearResultSet()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlResultSet.html#methodgetResultSet">MySqlResultSet::getResultSet()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Samble/db/MySqlConnection.html">MySqlConnection</a></span></p>
					<blockquote>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlConnection.html#methodconnect">MySqlConnection::connect()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlConnection.html#methoddisconnect">MySqlConnection::disconnect()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlConnection.html#methodisConnected">MySqlConnection::isConnected()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlConnection.html#methodpconnect">MySqlConnection::pconnect()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlConnection.html#methodpsock">MySqlConnection::psock()</a></span><br>
													<img src="../../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../../Samble/db/MySqlConnection.html#methodsock">MySqlConnection::sock()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Wed, 13 Apr 2011 15:57:40 +0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>